import { createRouter, createWebHistory, type RouteRecordRaw } from 'vue-router'
import Home from "../components/Home.vue";
import Game from "../components/Game.vue";

const routes: RouteRecordRaw[] = [
	{
		path: '/',
		redirect: '/home'
	}, {
		path: '/home',
		components: Home
	}, {
		path: '/game',
		components: Game,
		children:[

		]
	}
]

const router = createRouter({
	history: createWebHistory(),
	routes: routes
})

export default router